package com.changgou.config.pojo;

import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;


/**
 * freightTemplate实体类
 * @author 黑马架构师2.5
 *
 */
@Table(name="tb_freight_template")
public class FreightTemplate implements Serializable {

	@Id
	private Integer id;//ID

	private String name;//模板名称
	private String type;//计费方式
	private Integer amount;//数量
	private Integer minmoney;//起步价
	private Integer addamount;//增加数量
	private Integer addmoney;//加价
	private Integer area_id;//地区编号
	private Date addtime;//创建时间
	private Integer status;//是否启用.默认为0,不启用
	private Integer firstweight;//首重
	private Integer firstcost;//首费
	private Integer addweight;//续重
	private Integer addcost;//续费

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public Integer getAmount() {
		return amount;
	}

	public void setAmount(Integer amount) {
		this.amount = amount;
	}

	public Integer getMinmoney() {
		return minmoney;
	}

	public void setMinmoney(Integer minmoney) {
		this.minmoney = minmoney;
	}

	public Integer getAddamount() {
		return addamount;
	}

	public void setAddamount(Integer addamount) {
		this.addamount = addamount;
	}

	public Integer getAddmoney() {
		return addmoney;
	}

	public void setAddmoney(Integer addmoney) {
		this.addmoney = addmoney;
	}

	public Integer getArea_id() {
		return area_id;
	}

	public void setArea_id(Integer area_id) {
		this.area_id = area_id;
	}

	public Date getAddtime() {
		return addtime;
	}

	public void setAddtime(Date addtime) {
		this.addtime = addtime;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public Integer getFirstweight() {
		return firstweight;
	}

	public void setFirstweight(Integer firstweight) {
		this.firstweight = firstweight;
	}

	public Integer getFirstcost() {
		return firstcost;
	}

	public void setFirstcost(Integer firstcost) {
		this.firstcost = firstcost;
	}

	public Integer getAddweight() {
		return addweight;
	}

	public void setAddweight(Integer addweight) {
		this.addweight = addweight;
	}

	public Integer getAddcost() {
		return addcost;
	}

	public void setAddcost(Integer addcost) {
		this.addcost = addcost;
	}
}
